package com.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {
    List<Integer> searchByRole(String  rid);
    int delPermission(String rid);
    int addPermission(@Param("rid") String rid,@Param("mid") String mid);
}
